/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ecua911;

/**
 *
 * @author lainiguez
 */
public class ConnectionManager {
    
    private static boolean hayConexion;

    public ConnectionManager() {
        hayConexion = false;
    }
    
    public static void conectar(){
        hayConexion = true;
    }
    
    public static void desconectar() {
        hayConexion = false;
    }
    
    public static boolean hayConexion() {
        return hayConexion;
    }
    
}
